package com.zaydanwu.cla.dao;

import com.zaydanwu.cla.model.Students;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * StudentsMapper继承基类
 */
@Repository
public interface StudentsMapper extends MyBatisBaseDao<Students, Long> {

    Students selectStudent(@Param("name") String name);

    Students selectStudentByStuNo(@Param("stuNo") Long stuNo);

    Students selectStudentByNameAndPwd(@Param("stuNo") Long stuNo,@Param("password") String password);

}